package com.beta.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * Created by wy on 2016/11/17.
 */
public class CityDto implements Serializable {

    @JsonProperty("value")
    private String code;

    @JsonProperty("text")
    private String name;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
